﻿body {
    font-family: "Segoe UI",sans-serif;
    color:black;
    font-size: 12px;
}

body, div, ul, li, input {
    margin:0;
    padding:0 0;
}

.clear::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
}

div#main {
    position:relative;
    margin:15px auto;
    width:423px;
    height:388px;
    border-collapse:collapse;
    border-radius:5px 5px;
    box-shadow: 0 0 15px 3px black;
    background: rgb(211,233,254);
    background: -moz-linear-gradient(top,  rgba(211,233,254,1) 0, rgba(210,232,254,1) 14%, rgba(222,238,254,1) 22%, rgba(239,246,253,1) 29%, rgba(240,248,255,1) 29%, rgba(236,245,254,1) 29%, rgba(212,234,254,1) 29%, rgba(196,226,253,1) 30%, rgba(186,220,253,1) 37%, rgba(184,219,253,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,rgba(211,233,254,1)), color-stop(14%,rgba(210,232,254,1)), color-stop(22%,rgba(222,238,254,1)), color-stop(29%,rgba(239,246,253,1)), color-stop(29%,rgba(240,248,255,1)), color-stop(29%,rgba(236,245,254,1)), color-stop(29%,rgba(212,234,254,1)), color-stop(30%,rgba(196,226,253,1)), color-stop(37%,rgba(186,220,253,1)), color-stop(100%,rgba(184,219,253,1)));
    background: -webkit-linear-gradient(top,  rgba(211,233,254,1) 0,rgba(210,232,254,1) 14%,rgba(222,238,254,1) 22%,rgba(239,246,253,1) 29%,rgba(240,248,255,1) 29%,rgba(236,245,254,1) 29%,rgba(212,234,254,1) 29%,rgba(196,226,253,1) 30%,rgba(186,220,253,1) 37%,rgba(184,219,253,1) 100%);
    background: -o-linear-gradient(top,  rgba(211,233,254,1) 0,rgba(210,232,254,1) 14%,rgba(222,238,254,1) 22%,rgba(239,246,253,1) 29%,rgba(240,248,255,1) 29%,rgba(236,245,254,1) 29%,rgba(212,234,254,1) 29%,rgba(196,226,253,1) 30%,rgba(186,220,253,1) 37%,rgba(184,219,253,1) 100%);
    background: -ms-linear-gradient(top,  rgba(211,233,254,1) 0,rgba(210,232,254,1) 14%,rgba(222,238,254,1) 22%,rgba(239,246,253,1) 29%,rgba(240,248,255,1) 29%,rgba(236,245,254,1) 29%,rgba(212,234,254,1) 29%,rgba(196,226,253,1) 30%,rgba(186,220,253,1) 37%,rgba(184,219,253,1) 100%);
    background: linear-gradient(to bottom,  rgba(211,233,254,1) 0,rgba(210,232,254,1) 14%,rgba(222,238,254,1) 22%,rgba(239,246,253,1) 29%,rgba(240,248,255,1) 29%,rgba(236,245,254,1) 29%,rgba(212,234,254,1) 29%,rgba(196,226,253,1) 30%,rgba(186,220,253,1) 37%,rgba(184,219,253,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3e9fe', endColorstr='#b8dbfd',GradientType=0 );
}

    div > form {
        display:block;
    }

        div > form > img.icon {
            margin:4px 8px;
        }

        div > form > span.name {
            position:relative;
            margin-left:-2px;
            vertical-align:top;
            top:4px;
        }

        div > form > input.main-button {
            float:right;
            margin-top:-1px;
        }

        div > form > input[alt=minimize-button] {
            position: absolute;
            top: 0;
            right: 80px;
        }

            div > form > input[alt=minimize-button]:hover {
                content:url('') /*minimize-button-hover-image.png*/;
            }

        div >form > input[alt=maximize-button] {
            position: absolute;
            top: 0;
            right: 54px;
        }

        div > form > input[alt=close-button] {
            position: absolute;
            top: 0;
            right: 0;
            margin-right: 5px;
        }

        div > form > div.body {
            margin:0 5px 5px 5px;
            overflow: hidden;
            height: 353px;
            border:1px solid gray;
            background: rgb(240,240,240);
            background: -moz-linear-gradient(top,  rgba(240,240,240,1) 0%, rgba(237,244,252,1) 0%, rgba(236,244,252,1) 2%, rgba(217,228,241,1) 26%, rgba(217,228,241,1) 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(240,240,240,1)), color-stop(0%,rgba(237,244,252,1)), color-stop(2%,rgba(236,244,252,1)), color-stop(26%,rgba(217,228,241,1)), color-stop(100%,rgba(217,228,241,1)));
            background: -webkit-linear-gradient(top,  rgba(240,240,240,1) 0%,rgba(237,244,252,1) 0%,rgba(236,244,252,1) 2%,rgba(217,228,241,1) 26%,rgba(217,228,241,1) 100%);
            background: -o-linear-gradient(top,  rgba(240,240,240,1) 0%,rgba(237,244,252,1) 0%,rgba(236,244,252,1) 2%,rgba(217,228,241,1) 26%,rgba(217,228,241,1) 100%);
            background: -ms-linear-gradient(top,  rgba(240,240,240,1) 0%,rgba(237,244,252,1) 0%,rgba(236,244,252,1) 2%,rgba(217,228,241,1) 26%,rgba(217,228,241,1) 100%);
            background: linear-gradient(to bottom,  rgba(240,240,240,1) 0%,rgba(237,244,252,1) 0%,rgba(236,244,252,1) 2%,rgba(217,228,241,1) 26%,rgba(217,228,241,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#d9e4f1',GradientType=0 );
        }

            div > form > div > ul#menu {
                display:flex;
                list-style:none;
                color:black;
                margin:0;
                padding:1px 0 0 1px;
                border-bottom: 1px solid gray;
                background: rgb(254,254,255);
                background: -moz-linear-gradient(top,  rgba(254,254,255,1) 0%, rgba(252,253,254,1) 6%, rgba(239,242,249,1) 24%, rgba(232,236,246,1) 29%, rgba(229,234,245,1) 35%, rgba(212,219,237,1) 41%, rgba(225,230,246,1) 100%);
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,254,255,1)), color-stop(6%,rgba(252,253,254,1)), color-stop(24%,rgba(239,242,249,1)), color-stop(29%,rgba(232,236,246,1)), color-stop(35%,rgba(229,234,245,1)), color-stop(41%,rgba(212,219,237,1)), color-stop(100%,rgba(225,230,246,1)));
                background: -webkit-linear-gradient(top,  rgba(254,254,255,1) 0%,rgba(252,253,254,1) 6%,rgba(239,242,249,1) 24%,rgba(232,236,246,1) 29%,rgba(229,234,245,1) 35%,rgba(212,219,237,1) 41%,rgba(225,230,246,1) 100%);
                background: -o-linear-gradient(top,  rgba(254,254,255,1) 0%,rgba(252,253,254,1) 6%,rgba(239,242,249,1) 24%,rgba(232,236,246,1) 29%,rgba(229,234,245,1) 35%,rgba(212,219,237,1) 41%,rgba(225,230,246,1) 100%);
                background: -ms-linear-gradient(top,  rgba(254,254,255,1) 0%,rgba(252,253,254,1) 6%,rgba(239,242,249,1) 24%,rgba(232,236,246,1) 29%,rgba(229,234,245,1) 35%,rgba(212,219,237,1) 41%,rgba(225,230,246,1) 100%);
                background: linear-gradient(to bottom,  rgba(254,254,255,1) 0%,rgba(252,253,254,1) 6%,rgba(239,242,249,1) 24%,rgba(232,236,246,1) 29%,rgba(229,234,245,1) 35%,rgba(212,219,237,1) 41%,rgba(225,230,246,1) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefeff', endColorstr='#e1e6f6',GradientType=0 );
            }

                div > form > div > ul > li {
                    float:left;
                    position:relative;
                    width:30px;
                    padding-top:0;
                    border:1px solid transparent;
                    text-align:center;
                }

                div > form > div > ul > li:hover {
                    border:1px solid lightgray;
                    border-radius:3px 3px;
                }

                div > form > div > ul > li:first-letter {
                    text-decoration:underline;
                }

                    div > form > div > ul > li > a {
                        color:black;
                        text-decoration:none;
                    }

            div > form > div > div.holder {
                padding: 0 0 7px 0;
                height: 304px;
            }

                div > form > div > div > div.result {
                    border:none;
                }

                    div > form > div > div > div > input[name=total] {
                        width:98.6%;
                        min-height:41px;
                        margin:0;
                        padding: 5px 3px 0 0;
                        border:1px solid gray;
                        font-family: Consolas,sans-serif;
                        font-size: 23px;
                        text-align:right;
                        background: rgb(255,255,255);
                        background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(240,245,253,1) 2%, rgba(240,245,252,1) 6%, rgba(255,255,255,1) 100%);
                        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(2%,rgba(240,245,253,1)), color-stop(6%,rgba(240,245,252,1)), color-stop(100%,rgba(255,255,255,1)));
                        background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(240,245,253,1) 2%,rgba(240,245,252,1) 6%,rgba(255,255,255,1) 100%);
                        background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(240,245,253,1) 2%,rgba(240,245,252,1) 6%,rgba(255,255,255,1) 100%);
                        background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(240,245,253,1) 2%,rgba(240,245,252,1) 6%,rgba(255,255,255,1) 100%);
                        background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(240,245,253,1) 2%,rgba(240,245,252,1) 6%,rgba(255,255,255,1) 100%);
                        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
                    }

                div > form > div > div > div.bits {
                    height: 60px;
                }

                div > form > div > div > div > div.bytes {
                    font-family: Consolas,sans-serif;
                    font-size: 13px;
                    line-height: 13px;
                }

                div > form > div > div > div > div.bits-position {
                    color:gray;
                }

                div > form > div > div > div > div.bits-position > span.second {
                    margin-left: 172px;
                }


                div > form > div > div > div > div.bytes > span, div.bits-position > span {
                    float: left;
                    margin: 0 10px;
                }

                div > form > div > div > div > div.bytes > span.last, div.bits-position > span.last {
                    float:right;
                    margin: 0 9px 0 0;
                }

.section {
    margin: 5px 11px;
}

.buttons {
    position: relative;
    margin: 0 11px 0 0;
    float: right;
    width:296px;
}

.section, .buttons div {
    border: 1px solid #8E9CAD;
    border-radius: 2px;
}

    .buttons div {
        float: left;
        width: 32px;
        height: 25px;
        margin: 0 0 5px 3px;
    }

    .buttons div.enabled:hover {
        border:1px solid transparent;
        background: rgb(249,227,117);
        background: -moz-linear-gradient(top, rgba(249,227,117,1) 0%, rgba(249,227,117,1) 0%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,227,117,1)), color-stop(0%,rgba(249,227,117,1)));
        background: -webkit-linear-gradient(top, rgba(249,227,117,1) 0%,rgba(249,227,117,1) 0%);
        background: -o-linear-gradient(top, rgba(249,227,117,1) 0%,rgba(249,227,117,1) 0%);
        background: -ms-linear-gradient(top, rgba(249,227,117,1) 0%,rgba(249,227,117,1) 0%);
        background: linear-gradient(to bottom, rgba(249,227,117,1) 0%,rgba(249,227,117,1) 0%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9e375', endColorstr='#f9e375',GradientType=0 );
    }

    .buttons div.enabled input:hover {
        background: rgb(254,245,236);
        background: -moz-linear-gradient(top,  rgba(254,245,236,1) 0%, rgba(254,242,229,1) 4%, rgba(253,239,224,1) 13%, rgba(253,231,211,1) 42%, rgba(252,228,197,1) 46%, rgba(251,214,119,1) 50%, rgba(251,218,133,1) 67%, rgba(251,226,140,1) 83%, rgba(251,236,149,1) 96%, rgba(252,242,168,1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,245,236,1)), color-stop(4%,rgba(254,242,229,1)), color-stop(13%,rgba(253,239,224,1)), color-stop(42%,rgba(253,231,211,1)), color-stop(46%,rgba(252,228,197,1)), color-stop(50%,rgba(251,214,119,1)), color-stop(67%,rgba(251,218,133,1)), color-stop(83%,rgba(251,226,140,1)), color-stop(96%,rgba(251,236,149,1)), color-stop(100%,rgba(252,242,168,1)));
        background: -webkit-linear-gradient(top,  rgba(254,245,236,1) 0%,rgba(254,242,229,1) 4%,rgba(253,239,224,1) 13%,rgba(253,231,211,1) 42%,rgba(252,228,197,1) 46%,rgba(251,214,119,1) 50%,rgba(251,218,133,1) 67%,rgba(251,226,140,1) 83%,rgba(251,236,149,1) 96%,rgba(252,242,168,1) 100%);
        background: -o-linear-gradient(top,  rgba(254,245,236,1) 0%,rgba(254,242,229,1) 4%,rgba(253,239,224,1) 13%,rgba(253,231,211,1) 42%,rgba(252,228,197,1) 46%,rgba(251,214,119,1) 50%,rgba(251,218,133,1) 67%,rgba(251,226,140,1) 83%,rgba(251,236,149,1) 96%,rgba(252,242,168,1) 100%);
        background: -ms-linear-gradient(top,  rgba(254,245,236,1) 0%,rgba(254,242,229,1) 4%,rgba(253,239,224,1) 13%,rgba(253,231,211,1) 42%,rgba(252,228,197,1) 46%,rgba(251,214,119,1) 50%,rgba(251,218,133,1) 67%,rgba(251,226,140,1) 83%,rgba(251,236,149,1) 96%,rgba(252,242,168,1) 100%);
        background: linear-gradient(to bottom,  rgba(254,245,236,1) 0%,rgba(254,242,229,1) 4%,rgba(253,239,224,1) 13%,rgba(253,231,211,1) 42%,rgba(252,228,197,1) 46%,rgba(251,214,119,1) 50%,rgba(251,218,133,1) 67%,rgba(251,226,140,1) 83%,rgba(251,236,149,1) 96%,rgba(252,242,168,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fef5ec', endColorstr='#fcf2a8',GradientType=0 );
    }

    .buttons div.equal {
        float: right;
        height: 57px;
    }

    .buttons div.zero {
        width: 69px;
    }

        .buttons div input {
            width: 32px;
            height: 25px;
            font-size: 11px;
            border: 1px solid white;
            background: linear-gradient(to bottom, #f2fbff 0%,#f1f6fa 4%,#eaeef9 35%,#e4eef7 39%,#e4edf6 43%,#e0e9f2 48%,#d8e2eb 52%,#d5dfe9 57%,#d6e2ee 65%,#d6deeb 74%,#d8e1f0 78%,#d2dfef 83%,#d5e2f2 87%,#d4dff1 91%,#d8e2eb 96%,#dbe2ea 100%);
            background-image: linear-gradient(rgb(242, 251, 255) 0%, rgb(241, 246, 250) 4%, rgb(234, 238, 249) 35%, rgb(228, 238, 247) 39%, rgb(228, 237, 246) 43%, rgb(224, 233, 242) 48%, rgb(216, 226, 235) 52%, rgb(213, 223, 233) 57%, rgb(214, 226, 238) 65%, rgb(214, 222, 235) 74%, rgb(216, 225, 240) 78%, rgb(210, 223, 239) 83%, rgb(213, 226, 242) 87%, rgb(212, 223, 241) 91%, rgb(216, 226, 235) 96%, rgb(219, 226, 234) 100%);
        }

        .buttons div input.disabled {
            border: none;
            background: #dae3f2;
        }

        .buttons div input.simple-background {
            background: #d4e0ee;
        }

        .buttons div input.equal {
            height: 57px;
            font-size: 23px;
            background: linear-gradient(to bottom, #eff7fa 0%,#edf4fc 15%,#ebf2f8 19%,#eaf1f9 28%,#e7eef4 35%,#e2eaf5 48%,#d6e0ec 50%,#d5e1ef 52%,#d4e0ec 65%,#d5e1ed 83%,#d6e2f0 87%,#d7e1ed 91%,#d7e4ed 93%,#d9e2f1 96%,#d7e5ee 98%,#d9e5f1 100%);
            background-image: linear-gradient(rgb(239, 247, 250) 0%, rgb(237, 244, 252) 15%, rgb(235, 242, 248) 19%, rgb(234, 241, 249) 28%, rgb(231, 238, 244) 35%, rgb(226, 234, 245) 48%, rgb(214, 224, 236) 50%, rgb(213, 225, 239) 52%, rgb(212, 224, 236) 65%, rgb(213, 225, 237) 83%, rgb(214, 226, 240) 87%, rgb(215, 225, 237) 91%, rgb(215, 228, 237) 93%, rgb(217, 226, 241) 96%, rgb(215, 229, 238) 98%, rgb(217, 229, 241) 100%);
        }

        .buttons div input.zero {
            width: 69px;
            font-size: 16px;
        }

        .buttons div input.number {
            background: linear-gradient(to bottom, #f8fcff 0%,#eff4f8 41%,#edf2f8 45%,#e8ecf5 50%,#e7eef6 77%,#e9f2f7 86%,#ecf1f5 100%);
            background-image: linear-gradient(rgb(248, 252, 255) 0%, rgb(239, 244, 248) 41%, rgb(237, 242, 248) 45%, rgb(232, 236, 245) 50%, rgb(231, 238, 246) 77%, rgb(233, 242, 247) 86%, rgb(236, 241, 245) 100%);
        }

        .systems, .data-types {
            list-style: none;
            width: 61px;
            height: 81px;
            padding: 4px 5px 4px 5px;
            font-size: 11.4px;
        }

        .systems li, .data-types li {
            padding: 3px 1px 0 1px;
        }